#ifndef CDFPROPERTYFIELD_H
#define CDFPROPERTYFIELD_H

#include "ui_blockProperty.h"
#include "node.h"
#include "dep.h"
#include "blockproperty.h"
#include <QDialog>

class blockproperty;

static int count(0);

class cdfpropertyfield : public Ui::Form
{
   // Q_OBJECT

public:
    cdfpropertyfield(QString triggerId, dep *myDep);
    void createField(blockproperty *block1);

private:
    QHBoxLayout *horizontalLayout_7;
    //QLineEdit *lineEdit_7;
    QComboBox *comboBox_1;
    QLabel *label_6;
    QPushButton *pushButton_5;
    QString triggerId;
    dep *myDep;
    int idState; //contatore stati del blocco

public:
    QHBoxLayout *getHorizontalLayout();
    //QLineEdit *getLineEdit();
    QComboBox *getComboBox();
    QPushButton *getPushButton();
    QLabel *getLabel();
    QString getTriggerId();
    dep *getMyDep();
    int getIdState();

    void setHorizontalLayout(QHBoxLayout *value);
    void setComboBox(QComboBox *value);
    void setPushButton(QPushButton *value);
    //void setLineEdit(QLineEdit *value);
    void setLabel(QLabel *value);
    void setIdState(int value);
public slots:
    void dep_accept();
};


#endif // CDFPROPERTYFIELD_H
